package com.ljt.springelasticsearchdemo;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;


public interface ItemEsRepository extends ElasticsearchRepository<ItemES, Long> {
    List<ItemES> findByTitle(String title);
    List<ItemES> findByCategory(String category);
    List<ItemES> findByContent(String content);
}
